package cn.wolfcode.luowowo.acticle.domain;

import cn.wolfcode.luowowo.member.domain.UserInfo;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 回答
 */
@Getter
@Setter
public class Answer implements Serializable {
    private Long id;                //id
    private Query query;            //所在问题
    private UserInfo author;        //用户
    private String summary;         //概要
    private String coverUrl;        //封面
    private Date createTime;        //创建时间
    private Integer commentnum;     //评论数
    private Integer thumbupnum;     //点赞数
    private Integer favornum;       //收藏数
    private Boolean gold;           //金牌状态
    private AnswerContent answerContent;

}